module.exports = {
  devServer: {
    disableHostCheck: true,
    host: '127.0.0.1',
    port: 8080,
    // eslint-disable-next-line no-dupe-keys
    disableHostCheck: true,
    headers: {
      'Access-Control-Allow-Origin': '*'
    },
    hotOnly: false,
    proxy: {
      '/api': {
        target: 'http://www.fancyclub.cn:8088',
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  }
}
